//
// Created by xm on 2024/4/6.
//

#include "Test1.h"
#include "iostream"
using namespace std;

const int g = 100;
void  test1()
{
    int a = 20;
    const int b = a;
    int *p = (int *) &b;
    *p = 200;

    cout << "g=" << &g << endl;
    cout << "a=" << &a << endl;
    cout << "b=" << &b << endl;
    cout << "b=" << b << endl;
    cout << "p=" << p << endl;
    cout << "p=" << *p << endl;
}